package com.fs.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fs.common.annotation.ColumnDesc;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author ACE
 * @desc 部门/企业实体类
 * @creationTime 2019-02-28 14:32
 * @projectName weixinframe
 * @packageName com.fs.pojo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("s_company")
@EqualsAndHashCode(callSuper=false)
public class Company extends IdEntity{
    @ColumnDesc(name="企业名称")
    private String companyName;

    @ColumnDesc(name="父企业ID")
    private String parentId;

    @ColumnDesc(name="企业层级关系")
    private String line;

    @ColumnDesc(name="层级数")
    private Integer level;

    @ColumnDesc(name = "企业状态")
    private String companyStatus = "0";

    @ColumnDesc(name = "授权IP")
    private String impowerIp;

}
